import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.ObjectInputStream;
import java.net.Socket;
import java.net.SocketAddress;
import java.net.UnknownHostException;


public class TestClient {
	
	public TestClient() throws Exception{
		try{
		Socket socket = new Socket("10.125.110.181", 1256);
		InputStream inStream=socket.getInputStream();
		BufferedReader socketInput=new BufferedReader(new InputStreamReader(inStream));
		String message=socketInput.readLine();
		System.out.println(message);
		}catch(Exception e){
			e.printStackTrace();
			System.out.println("hehe1");

		}
	}
	
	public static void main(String[] args) throws Exception{
		new TestClient();
	}
}
